/*
 * @Description: 入口文件
 * @Author: Xiaowen丶
 * @Date: 2020-03-11 17:00:00
 * @LastEditors  : Xiaowen丶
 * @LastEditTime : 2020-03-11 17:00:00
 */

import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import mixin from "@/mixins/mixin"
import '@/utils/rem/rem'  // 开启rem适配
import Vconsolefrom from 'vconsole' // 引入vonsole 方便手机调试
import { Row, Col, Toast } from 'vant'

//全局混入方法
Vue.mixin(mixin)

// 全局使用组件
Vue.use(Toast)
Vue.use(Row).use(Col)
Vue.config.productionTip = false

const vConsole = new Vconsolefrom()
Vue.use(vConsole);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
